import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
// import '@/index.css'
import '@/assets/css/index.less'
import App from '@/App'
import 'normalize.css'
import { HashRouter } from 'react-router-dom'
import { Provider } from 'react-redux'
import store from '@/store'
import { ThemeProvider } from 'styled-components'
import theme from '@/assets/theme'

createRoot(document.getElementById('root')!).render(
  <Provider store={store}>

      <HashRouter>
        <ThemeProvider theme={theme}>
          <App />
        </ThemeProvider>
      </HashRouter>

  </Provider>

  // <StrictMode>
  //   <App />
  // </StrictMode>,
)
